package com.ymt.reliable.message.dao;

import com.ymt.reliable.message.domain.TransactionMessage;

import java.util.List;
import java.util.Map;

public interface TransactionMessageMapper {
    Long insert(TransactionMessage message);

    Integer deleteByMessageId(String messageId);

    TransactionMessage get(String messageId);

    Integer update(TransactionMessage message);

    List<TransactionMessage> queryRetryList(Map<String, Object> params);

    List<TransactionMessage> queryConfirmList(Map<String, Object> params);
}
